<?php

class DesignTimeWorkflowStartNode extends AbstractDesignTimeWorkflowNode
{

  protected function configure ()
  {
    $this->min_in_nodes = 0;
    $this->max_in_nodes = 0;
  }

  /**
   * @param RunTimeWorkflow $workflow
   * @return AbstractRunTimeWorkflowNode
   */
  public function createRunTimeNode (RunTimeWorkflow $workflow)
  {
    return new RunTimeWorkflowStartNode($workflow, $this);
  }
}